<template>
  <div>
    <h2>我的姓名：{{ name }}</h2>
    <p @click="age++">年龄：{{age}}，这个不讲{{sex}} </p>
    <h3>上面这部分是常规的</h3>
  </div>
</template>

<script>
export default {
    name:'MyName',
    data(){
        return {
            name:'luoyu',
            age:19,
            sex:'gender'
        }
    }
}
</script>
